<div class="coupons">
    <div class="container">
        <div class="coupons-grids text-center">
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<!-- login -->
<div class="modal fade" id="myModal4" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content modal-info">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body modal-spa">
                <div class="login-grids">
                    <div class="login">
                        <div class="login-bottom">
                            <h3>会员注册</h3>
                            <form action="/register" method="post">
                                <div class="sign-up">
                                    <h4>用户名 :</h4>
                                    <input type="text" name="username" placeholder="用户名" required="">
                                </div>
                                <div class="sign-up">
                                    <h4>姓名 :</h4>
                                    <input type="text" placeholder="姓名" name="name" required="">

                                </div>
                                <div class="sign-up">
                                    <h4>密码 :</h4>
                                    <input type="password"required="" name="password">

                                </div>
                                <div class="sign-up">
                                    <input type="submit" value="注册">
                                </div>

                            </form>
                        </div>
                        <div class="login-right">
                            <h3>会员登录</h3>
                            <form action="/login" method="post">
                                <div class="sign-in">
                                    <h4>用户名 :</h4>
                                    <input type="text" name="username" required="">
                                </div>
                                <div class="sign-in">
                                    <h4>密码 :</h4>
                                    <input type="password" name="password" required="">
                                </div>

                                <div class="sign-in">
                                    <input type="submit" value="登录">
                                </div>
                            </form>
                        </div>
                        <div class="clearfix"></div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<script>
    var msg = "${errorMsg!}";
    if(msg.length > 0) alert(msg);
</script>